package com.kpx.app.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/4/11.
 */

public class TagBean implements Serializable {

    /**
     * childTags : [{"dmId":10003,"level":2,"open":1,"parentId":10000,"tagName":"高大"},{"dmId":10004,"level":2,"open":1,"parentId":10000,"tagName":"小巧"},{"dmId":10005,"level":2,"open":1,"parentId":10000,"tagName":"长腿"},{"dmId":10006,"level":2,"open":0,"parentId":10000,"tagName":"大胸"}]
     * dmId : 10000
     * level : 1
     * open : 1
     * tagName : 外形
     */

    private int dmId;
    private int level;
    private int open;
    private String tagName;
    private List<ChildTagsBean> childTags;

    public int getDmId() {
        return dmId;
    }

    public void setDmId(int dmId) {
        this.dmId = dmId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getOpen() {
        return open;
    }

    public void setOpen(int open) {
        this.open = open;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public List<ChildTagsBean> getChildTags() {
        return childTags;
    }

    public void setChildTags(List<ChildTagsBean> childTags) {
        this.childTags = childTags;
    }

    public static class ChildTagsBean implements Serializable{
        /**
         * dmId : 10003
         * level : 2
         * open : 1
         * parentId : 10000
         * tagName : 高大
         * {"data":{"ctime":1491924414743,"dmId":2132716305040384,"level":2,"parentId":10000,"tagName":"啦啦","userId":2103021484934144},"code":0}
         */

        private long dmId;
        private int level;
        private int open;
        private int parentId;
        private String tagName;
        private boolean isSelect = false;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public long getDmId() {
            return dmId;
        }

        public void setDmId(long dmId) {
            this.dmId = dmId;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getOpen() {
            return open;
        }

        public void setOpen(int open) {
            this.open = open;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }
    }
}
